<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>系统后台 - {$Think.config.INTENDANT_NAME} - by HemaCMS</title>
    <link href="__INTENDANT__/css/admin_style.css" rel="stylesheet" />
    <script src="__COMMON__/jquery.js"></script>

</head>
<body class="J_scroll_fixed">
<style type="text/css">
.cu,.cu-li li,.cu-span span {cursor: hand;!important;cursor: pointer}
 .line_ff9966,.line_ff9966:hover td{
	background-color:#FF9966;
}
 .line_fbffe4,.line_fbffe4:hover td {
	background-color:#fbffe4;
}
</style>
<div class="wrap">
  <div class="h_a">搜索</div>
  <form name="searchform" action="http://localhost/shuipfcms/index.php?m=Content&a=public_relationlist" method="post">
    <div class="search_type cc mb10">
      <div class="mb10">
        <span class="mr20">
        <select class="select_2" name="searchtype" style="width:70px;">
          <option value='title' >标题</option>
          <option value='keywords'  >关键字</option>
          <option value='description' >描述</option>
          <option value='id' >ID</option>
        </select>
        <select name="catid"><option value='0'>不限栏目</option><optgroup label=' 网页教程'></optgroup><option value='10' >&nbsp;├ HTML/XHTML</option><option value='11' >&nbsp;└ Dreamweaver</option><optgroup label=' 前端开发'></optgroup><option value='12' >&nbsp;├ javascript教程</option><option value='13' >&nbsp;└ jquery教程</option><optgroup label=' PS教程'></optgroup><option value='14' >&nbsp;├ PS网页制作</option><option value='15' >&nbsp;└ PS按钮制作</option><optgroup label=' 网页特效'></optgroup><option value='16' >&nbsp;├ JS幻灯片</option><option value='17' >&nbsp;└ 导航菜单</option><optgroup label=' 建站素材'></optgroup><option value='18' >&nbsp;├ PNG图标</option><option value='19' >&nbsp;└ GIF小图标</option><optgroup label=' 网站运营'></optgroup><option value='20' >&nbsp;├ SEO网站优化</option><option value='21' >&nbsp;└ 网络营销</option><optgroup label=' 站长杂谈'></optgroup><option value='22' >&nbsp;├ 互联网资讯</option><option value='23' >&nbsp;└ 人物访谈</option><optgroup label=' 设计欣赏'></optgroup><option value='24' >&nbsp;├ 酷站欣赏</option><option value='25' >&nbsp;└ 标志LOGO</option><option value='9' > 常用软件</option></select>        关键字：
        <input type="text" class="input length_2" name="keywords" style="width:200px;" value="" placeholder="请输入关键字...">
        <button class="btn">搜索</button>
        </span>
      </div>
    </div>
  </form>
    <div class="table_list">
      <table width="100%">
        <colgroup>
        <col width="40">
        <col width="">
        <col width="80">
        <col width="70">
        <col width="140">
        </colgroup>
        <thead>
          <tr>
            <td>ID</td>
            <td>标题</td>
            <td align="center">点击量</td>
            <td>发布人</td>
            <td><span>发帖时间</span></td>
          </tr>
        </thead>
        <tr onClick="select_list(this,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaddddddddddddddddddddddddd',1,40)"  class="cu" title="点击选择">
            <td>40</td>
            <td ><a href="javascript:;;"><span style="" >
              aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaddddddddddddddddddddddddd                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">0</td>
            <td>admin                </td>
            <td>2016-03-23 21:23:01</td>
          </tr><tr onClick="select_list(this,'法规和乳房',1,39)"  class="cu" title="点击选择">
            <td>39</td>
            <td ><a href="javascript:;;"><span style="" >
              法规和乳房                              </span></a>
                                          </td>
            <td align="center">0</td>
            <td>admin                </td>
            <td>2016-03-20 16:44:38</td>
          </tr><tr onClick="select_list(this,'sdafasdfafsdfasdf',1,38)"  class="cu" title="点击选择">
            <td>38</td>
            <td ><a href="javascript:;;"><span style="" >
              sdafasdfafsdfasdf                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">0</td>
            <td>admin                </td>
            <td>2016-03-20 15:45:20</td>
          </tr><tr onClick="select_list(this,'ewryertgsdgasgdsgasdgd',1,36)"  class="cu" title="点击选择">
            <td>36</td>
            <td ><a href="javascript:;;"><span style="" >
              ewryertgsdgasgdsgasdgd                              </span></a>
                                          </td>
            <td align="center">9</td>
            <td>admin                </td>
            <td>2015-10-17 16:37:53</td>
          </tr><tr onClick="select_list(this,'26款以云为设计元素的logo欣赏',1,35)"  class="cu" title="点击选择">
            <td>35</td>
            <td ><a href="javascript:;;"><span style="" >
              26款以云为设计元素的logo欣赏                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">0</td>
            <td>admin                </td>
            <td>2013-06-22 22:12:44</td>
          </tr><tr onClick="select_list(this,'Digital Atelier创意网站开发工作室网站欣赏',1,34)"  class="cu" title="点击选择">
            <td>34</td>
            <td ><a href="javascript:;;"><span style="" >
              Digital Atelier创意网站开发工作室网站欣赏                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">1</td>
            <td>admin                </td>
            <td>2013-06-22 22:11:01</td>
          </tr><tr onClick="select_list(this,'alt属性和title属性的区别与介绍',1,30)"  class="cu" title="点击选择">
            <td>30</td>
            <td ><a href="javascript:;;"><span style="" >
              alt属性和title属性的区别与介绍                              </span></a>
                                          </td>
            <td align="center">2</td>
            <td>admin                </td>
            <td>2013-06-22 21:32:25</td>
          </tr><tr onClick="select_list(this,'5种实现页面跳转到指定的地址的方法',1,29)"  class="cu" title="点击选择">
            <td>29</td>
            <td ><a href="javascript:;;"><span style="" >
              5种实现页面跳转到指定的地址的方法                              </span></a>
                                          </td>
            <td align="center">0</td>
            <td>admin                </td>
            <td>2013-06-22 21:30:45</td>
          </tr><tr onClick="select_list(this,'Nofollow标签是什么意思',1,25)"  class="cu" title="点击选择">
            <td>25</td>
            <td ><a href="javascript:;;"><span style="" >
              Nofollow标签是什么意思                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">3</td>
            <td>admin                </td>
            <td>2013-06-22 15:27:28</td>
          </tr><tr onClick="select_list(this,'PS结合AI制作钢铁侠面具模型教程',1,24)"  class="cu" title="点击选择">
            <td>24</td>
            <td ><a href="javascript:;;"><span style="" >
              PS结合AI制作钢铁侠面具模型教程                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">2</td>
            <td>admin                </td>
            <td>2013-06-22 14:29:53</td>
          </tr><tr onClick="select_list(this,'分享前端开发JavaScript中常用的使用小技巧语句',1,23)"  class="cu" title="点击选择">
            <td>23</td>
            <td ><a href="javascript:;;"><span style="" >
              分享前端开发JavaScript中常用的使用小技巧语句                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">1</td>
            <td>admin                </td>
            <td>2013-06-22 14:27:03</td>
          </tr><tr onClick="select_list(this,'DreamWeaver中如何批量删除超级链接',1,22)"  class="cu" title="点击选择">
            <td>22</td>
            <td ><a href="javascript:;;"><span style="" >
              DreamWeaver中如何批量删除超级链接                              </span></a>
              <img src="/shuipfcms/statics/images/icon/small_img.gif" title="标题图片">                            </td>
            <td align="center">0</td>
            <td>admin                </td>
            <td>2013-06-22 14:19:02</td>
          </tr>      </table>
      <div class="p10"><div class="pages">
<span class="all">共有29条信息</span><span class="current" >1</span><a href="http://localhost/shuipfcms/index.php?m=Content&a=public_relationlist&modelid=1&page=2">2</a><a href="http://localhost/shuipfcms/index.php?m=Content&a=public_relationlist&modelid=1&page=3">3</a><a href="http://localhost/shuipfcms/index.php?m=Content&a=public_relationlist&modelid=1&page=2">下一页</a><a href="http://localhost/shuipfcms/index.php?m=Content&a=public_relationlist&modelid=1&page=3">尾页</a>
 </div> </div>
    </div>
</div>
<script>
function select_list(obj, title,modelid, id) {
    var relation_ids = window.top.$('#relation').val();
    var sid = 'v'+modelid+ '_' + id;
    if ($(obj).attr('class') == 'line_ff9966' || $(obj).attr('class') == null) {
        $(obj).attr('class', 'line_fbffe4');
        window.top.$('#' + sid).remove();
        if (relation_ids != '') {
            var r_arr = relation_ids.split('|');
            var newrelation_ids = '';
            $.each(r_arr, function (i, n) {
                if (n != id) {
                    if (i == 0) {
                        newrelation_ids = n;
                    } else {
                        newrelation_ids = newrelation_ids + '|' + n;
                    }
                }
            });
            window.top.$('#relation').val(newrelation_ids);
        }
    } else {
        $(obj).attr('class', 'line_ff9966');
        var str = "<li id='" + sid + "'>·<span>" + title + "</span><a href='javascript:;' class='close' onclick=\"remove_relation('" + sid + "'," + id + ")\"></a></li>";
        window.top.$('#relation_text').append(str);
        if (relation_ids == '') {
            window.top.$('#relation').val(id);
        } else {
            relation_ids = relation_ids +','+id;
            window.top.$('#relation').val(relation_ids);
        }
    }
}
</script>
</body>
</html>